package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.InstituicaoSuperior;
import br.edu.fanor.esfinge.services.InstituicaoSuperiorServiceRemote;

@Stateless
public class InstituicaoSuperiorServiceImpl implements InstituicaoSuperiorServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public InstituicaoSuperior inserir(InstituicaoSuperior InstituicaoSuperior) {
		em.persist(InstituicaoSuperior);
		return InstituicaoSuperior;
	}
	
	

}
